﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ThemSuaXoaUser.ascx.cs" Inherits="WebBanDT.AdminControl.ThemSuaXoaUser" %>
<table style=" width:600px">
         <tr>
            <td align="center">
                 <asp:Repeater ID="Repeater1" OnItemCommand="Thucthi" runat="server">
     <HeaderTemplate> 
    <table border=1 style="border-collapse:collapse;">
    <th>Email</th>
    <th>Mật Khẩu</th>
     <th>Họ Tên</th>
    <th>Địa Chỉ</th>
     <th>Số ĐT</th>
    <th>Số Fax</th>
     <th>Phân Quyền</th>
    </HeaderTemplate>
    <ItemTemplate>
    <tr>
     <td>
    <asp:Label ID="lblEmail" runat="server" Text='<%#Eval("Email") %>' Width="150px"></asp:Label>
    <asp:TextBox ID="txtEmail" runat="server" Text='<%#Eval("Email") %>' Visible="false"  Width="150px"></asp:TextBox>
    </td>
     <td>
    <asp:Label ID="lblMatKhau" runat="server" Text='<%#Eval("MatKhau") %>' Width="100px"></asp:Label>
    <asp:TextBox ID="txtMatKhau" runat="server" Text='<%#Eval("MatKhau") %>' Visible="false"  Width="100px"></asp:TextBox>
    </td>
     <td>
    <asp:Label ID="lblHoten" runat="server" Text='<%#Eval("HoTen") %>' Width="100px"></asp:Label>
    <asp:TextBox ID="txtHoten" runat="server" Text='<%#Eval("HoTen") %>' Visible="false"  Width="100px"></asp:TextBox>
    </td>
     <td>
    <asp:Label ID="lblDiaChi" runat="server" Text='<%#Eval("DiaChi") %>' Width="150px"></asp:Label>
    <asp:TextBox ID="txtDiaChi" runat="server" Text='<%#Eval("DiaChi") %>' Visible="false"  Width="150px"></asp:TextBox>
    </td>
     <td>
    <asp:Label ID="lblSoDT" runat="server" Text='<%#Eval("SoDT") %>' Width="50px"></asp:Label>
    <asp:TextBox ID="txtSoDT" runat="server" Text='<%#Eval("SoDT") %>' Visible="false"  Width="50px"></asp:TextBox>
    </td>
    <td>
    <asp:Label ID="lblSoFax" runat="server" Text='<%#Eval("SoFax") %>' Width="50px"></asp:Label>
    <asp:TextBox ID="txtSoFax" runat="server" Text='<%#Eval("SoFax") %>' Visible="false"  Width="50px"></asp:TextBox>
    </td>
    <td>
    <asp:Label ID="lnlPhanQuyen" runat="server" Text='<%#Eval("MaKieuNguoiDung") %>' Width="50px"></asp:Label>
     <asp:TextBox ID="txtPhanquyen" runat="server" Text='<%#Eval("MaKieuNguoiDung") %>' Visible="false" Width="50px"></asp:TextBox>
    </td>
     <td>
     <asp:LinkButton ID="lbtn1" CommandName="Xoa" runat="server" Text="Xóa"></asp:LinkButton>
    </td>
     <td>
     <asp:LinkButton ID="LinkButton1" CommandName="Sua" runat="server" Text="Sửa"></asp:LinkButton>
     <asp:LinkButton ID="LinkButton2" CommandName="Luu" runat="server" Text="Lưu" Visible="false"></asp:LinkButton>
     <asp:LinkButton ID="LinkButton3" CommandName="Khongluu" runat="server" Text="Không lưu" Visible="false"></asp:LinkButton>
    </td>
    </tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </FooterTemplate>
                </asp:Repeater>
   
                 
   
            </td>
         </tr>
     </table>